package com.chen.demohystriyfeign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients //feign
@EnableCircuitBreaker //hystriy 断融
@EnableEurekaClient //eureka客户端
@SpringBootApplication
public class DemoHystriyFeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoHystriyFeignApplication.class, args);
    }

}
